home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / MorphOS / tictactoe-1.2.1 / t3types.c < prev    next >
Encoding:
C/C++ Source or Header  |  2002-10-22  |  347 b   |  23 lines

  1. #include "t3types.h"    /* don't really have to include it */
  2.  
  3. /*
  4.  * File global variables
  5.  */
  6. static signed char _piece[3] = {'O', '_', 'X'};
  7.  
  8. /*
  9.  * App global variables
  10.  */
  11. #ifndef _SIZE_
  12. #    define _SIZE_    3
  13. #endif
  14.  
  15. int SIZE = _SIZE_;
  16. signed char **board;
  17. int **scores;
  18.  
  19. signed char *piece = &_piece[1];
  20.  
  21. enum players YOU=NONE;
  22. enum players ME=NONE;
  23.